package cn.ccit.iservers;

import java.util.List;

import cn.ccit.entites.Dishes;

public interface IDishesServers {
	public boolean addDishes(Dishes dish);//添加菜
	public boolean removeDishes(Dishes dish);//移除
	public boolean changeDishesInfo(Dishes dish);//修改
	public List<Dishes> getSomeDishes(int start,int limit);//获取一定条数菜品记录
	public Dishes searchDishesByID(int id);//通过id搜索
	public Dishes searchDishesByName(String name);//通过全名搜索
	public List<Dishes> searchDishesByShortFor(String name);//通过拼音缩写 注：用trim去除前后空格，用string方法将字符串统一大小写
	public List<Dishes> searchDishesByKind(String enumName);
}
